package com.jingyanzi.member.util;

public class MemberConstant {
	
	/** 数据状态：1正常 */
	public static final int DB_ISDEL_NO = 1;
	/** 数据状态：已删除 */
	public static final int DB_ISDEL_YES = -1;

	/** 标志：1-true, 0-false */
	public static final int FLAG_TRUE = 1;
	/** 标志：1-true, 0-false */
	public static final int FLAG_FALSE = 0;

	/** 性别：1-男, 2-女 */
	public static final int GENDER_MEN = 1;
	/** 性别：1-男, 2-女 */
	public static final int GENDER_FEMAIL = 2;

	/** 线索业务分类 1孕妈照 */
	public static final int LEAD_BUSINESS_GRAVIDA = 1;
	/** 线索业务分类 2儿童照 */
	public static final int LEAD_BUSINESS_CHILDREN = 2;
	/** 线索业务分类 3婴儿照 */
	public static final int LEAD_BUSINESS_BABY = 3;
	
	/** 支付状态: 提交订单，未支付 */
	public static final int STATUS_ORDER = 0;
	/** 支付状态: 订单已支付 */
	public static final int STATUS_PAY = 1;

	/** 客户家庭: 1首要联系人 */
	public static final int FAMILY_IS_FIRST = 1;
	/** 客户家庭: 0其他联系人 */
	public static final int FAMILY_IS_OTHER = 0;

	/** 线索流失：0流失 */
	public static final int LEAD_LOSE = 0;
	/** 线索流失：1已找回 */
	public static final int LEAD_LOSE_BACK = 1;

	/** 线索：0线索 */
	public static final int ANALYSIS_ISPOOL_NO = 0;
	/** 线索：1线索池 */
	public static final int ANALYSIS_ISPOOL_YES = 1;

	/** 线索状态：1新收集 */
	public static final int LEAD_STATUS_NEW = 1;
	/** 线索状态：2未联系上 */
	public static final int LEAD_STATUS_NO_CONTACT = 2;
	/** 线索状态：3跟进中 */
	public static final int LEAD_STATUS_TRACKINT = 3;
	/** 线索状态：4预订成功 */
	public static final int LEAD_STATUS_BOOK = 4;
	/** 线索状态：5预订改期 */
	public static final int LEAD_STATUS_CHANGE = 5;
	/** 线索状态：6预订取消 */
	public static final int LEAD_STATUS_CANCEL = 6;
	/** 线索状态：7已成交 */
	public static final int LEAD_STATUS_DEAL = 7;
	/** 线索状态：8已流失 */
	public static final int LEAD_STATUS_LOSE = 8;

	/** 线索数据类型：0不是线索 */
	public static final int ANALYSIS_LEAD_TYPE_NO = 0;
	/** 线索数据类型：1线索 */
	public static final int ANALYSIS_LEAD_TYPE_LEAD = 1;
	/** 线索数据类型：2线索->机会 */
	public static final int ANALYSIS_LEAD_TYPE_TO_OPP = 2;
	/** 机会数据类型：0不是机会 */
	public static final int ANALYSIS_OPP_TYPE_NO = 0;
	/** 机会数据类型：1机会 */
	public static final int ANALYSIS_OPP_TYPE_OPP = 1;
	/** 机会数据类型：2机会->订单 */
	public static final int ANALYSIS_OPP_TYPE_TO_ORDER = 2;
	/** 线索：0未转化成机会 */
	public static final int ANALYSIS_NOT_TRANSFER = 0;
	/** 线索：1已转化成机会 */
	public static final int ANALYSIS_TRANSFER_TO_CHANCE = 1;
	/** 线索：0未转化成订单 */
	public static final int ANALYSIS_NOT_TRANSACTION = 0;
	/** 线索：1已转化成订单 */
	public static final int ANALYSIS_TRANSACTION_TO_ORDER = 1;

	/** 线索机会操作：1:创建 */
	public static final int ANALYSIS_OPR_TYPE_CREATE = 1;
	/** 线索机会操作：2:线索转换为机会 */
	public static final int ANALYSIS_OPR_TYPE_TO_OPP = 2;
	/** 线索机会操作：3:机会转换为订单 */
	public static final int ANALYSIS_OPR_TYPE_TO_ORDER = 3;
	/** 线索机会操作：4:订单取消，回退到机会 */
	public static final int ANALYSIS_OPR_TYPE_BACK_TO_OPP = 4;

	/** 线索分配：0:未分配（线索池） */
	public static final int ANALYSIS_IN_POOL = 0;
	/** 线索分配：1:已分配（线索） */
	public static final int ANALYSIS_ALLOT = 1;
	
	/** 交易类型：1订单 */
	public static final int TRADE_TYPE_ORDER = 1;
	/** 交易类型：2加选 */
	public static final int TRADE_TYPE_ADD = 2;
	/** 交易类型：3充值 */
	public static final int TRADE_TYPE_RECHARGE = 3;
	/** 交易类型：4其他 */
	public static final int TRADE_TYPE_OTHER = 4;
	/** 交易类型：5购买会员 */
	public static final int TRADE_TYPE_MEMBER = 5;

	/** 客户表会员标志：0普通客户 */
	public static final int CUSTOMER_NORMAL = 0;
	/** 客户表会员标志：1会员客户 */
	public static final int CUSTOMER_MEMBER = 1;
	/** 客户合并标志：0未合并 */
	public static final int CUSTOMER_MERGE_NO = 0;
	/** 客户合并标志：1合并 */
	public static final int CUSTOMER_MERGE_YES = 1;
	/** 客户有效标志：1有效 */
	public static final int CUSTOMER_VALID = 1;
	/** 客户有效标志：-1无效 */
	public static final int CUSTOMER_INVALID = -1;

	/** 客户类型：1潜在客户：未联系 */
	public static final int CUSTOMER_TYPE_POTENTIAL = 1;
	/** 客户类型：2意向客户：联系过，有需求，但未产生过订单的客户 */
	public static final int CUSTOMER_TYPE_INTENTION = 2;
	/** 客户类型：3订单客户：产生过订单的客户，但不是会员 */
	public static final int CUSTOMER_TYPE_TRADE = 3;
	/** 客户类型：4会员客户 */
	public static final int CUSTOMER_TYPE_MEMBER = 4;
	/** 客户类型：5无效客户（包括没有再联系价值的客户） */
	public static final int CUSTOMER_TYPE_INVALID = 5;

	/** 会员状态标志：0会员未激活（会员购买订单未支付） */
	public static final int MEMBER_STATUS_NOT_ACTIVITY = 0;
	/** 会员状态标志：1会员客户 */
	public static final int MEMBER_STATUS_NORMAL = 1;
	/** 会员开通类型：1购买会员 */
	public static final int MEMBER_JOIN_TYPE_BUY = 1;
	/** 会员状态标志：2充值会员 */
	public static final int MEMBER_JOIN_TYPE_RECHARGE = 2;
	/** 会员积分操作类型：1新增积分 */
	public static final int MEMBER_INTEGRAL_ADD = 1;
	/** 会员积分操作类型：2扣除积分 */
	public static final int MEMBER_INTEGRAL_MINUS = 2;
	
	
	public static final String MODE_CREATE_LEAD = "创建线索";
	
	public static final String MODE_CREATE_CUSTOMER = "创建客户";
	
	public static final String MODE_TEL = "电话联系";
	
	public static final String MODE_SMS = "电话联系";
	
	public static final String MODE_WX = "电话联系";
	
	public static final String MODE_VISIT = "上门";
	
	public static final String MODE_STORE = "到店";
	
	public static final String TOPIC_CREATE_LEAD = "创建线索";
	
	public static final String TOPIC_CREATE_CHANCE = "创建机会";
	
	public static final String TOPIC_CREATE_CUSTOMER = "创建客户";
	
	public static final String TOPIC_MERGE_CUSTOMER = "合并客户";
	
	public static final String TOPIC_SUBSCRIBE_SHORT = "预约拍摄";
	
	public static final String TOPIC_GREETING_SMS = "关怀短信";
	
	public static final String TOPIC_MEMBER_REGISTER = "开通会员";
	
	public static final String TOPIC_FREE_SHORT = "免费拍摄";
	
	public static final String TOPIC_PRODUCT_BUY = "产品购买";


	/** 线索导入：数据验证正确 */
	public static final String IMPORT_CHECK_OK = "ok";
	/** 线索导入：导入成功 */
	public static final String IMPORT_SUCCESS = "导入成功";
	
	public static final String STATIC_MAP_LEAD = "leadStatus";
	public static final String STATIC_MAP_CUSTOMER = "customerStatus";

}
